<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | 王勇程 <laughskydragon@qq.com>                         |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

// 事件定义（应用级）
return [
    'listen'   => [
        // 将初始化行为从 AppInit 移到 HttpRun，确保服务引导（ModelService::boot）已完成
        'HttpRun' => [
            \app\common\behavior\InitBase::class,
            \app\common\behavior\InitHook::class,
        ],
        // 其他事件如 LogWrite/HttpRun/HttpEnd 目前使用框架默认，无需额外绑定
    ],
    'subscribe'=> [
        // 如有全局订阅者，可在此追加
    ],
];